var a = [1, 3, 2];

console.log(a.sort());
console.log(a);
